home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Swatch_Metallic_silver.PspSc < prev    next >
Encoding:
Text File  |  2003-04-22  |  993 b   |  35 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': '',
  6.         'Copyright': '',
  7.         'Description': ''
  8.         }
  9.  
  10. def Swatch_SetMaterial():
  11.     return {
  12.         'IsPrimary': App.Constants.Boolean.true, 
  13.         'NewMaterial': {
  14.             'Color': None, 
  15.             'Pattern': None, 
  16.             'Gradient': {
  17.                 'Name': 'Metallic silver', 
  18.                 'GradientType': App.Constants.GradientType.Linear, 
  19.                 'Angle': 0.000000, 
  20.                 'RepeatCount': 0, 
  21.                 'RepeatType': App.Constants.RepeatType.Pad, 
  22.                 'ColorStops': None, 
  23.                 'TransparencyStops': [], 
  24.                 'CenterPoint': None, 
  25.                 'FocalPoint': None, 
  26.                 'Invert': App.Constants.Boolean.false
  27.                 }, 
  28.             'Texture': None
  29.             }
  30.         }
  31.  
  32. def Do(Environment):
  33.     App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())
  34.  
  35.